package com.stone.framework.basic.dict.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.stone.framework.message.basic.dict.DictMemberPageResBody;
import com.stone.framework.message.basic.dict.DictMemberReqBody;
import com.stone.framework.message.basic.dict.DictMemberResBody;

public interface DictMemberService {

    Page<DictMemberPageResBody> queryPage(String categoryCode, Pageable pageable);

    List<DictMemberResBody> queryByCategoryCode(String categoryCode);

    Map<String, String> queryKVByCategoryCode(String categoryCode);

    void save(List<DictMemberReqBody> list);

}
